﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BenCaoXuan.Infrastructure.Dto.Admin.Order
{
    public class OrderDetails_Dto
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string? id { get; set; }

        public string? createTime { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string? customerName { get; set; }

        /// <summary>
        /// 客户电话
        /// </summary>
        public string? customerPhone { get; set; }

        /// <summary>
        /// 前台员工id
        /// </summary>
        public string? employeeFrontId { get; set; }

        /// <summary>
        /// 理疗师id
        /// </summary>
        public string? employeeID { get; set; }

        /// <summary>
        /// 理疗师名称
        /// </summary>
        public string? employeeName { get; set; }

        /// <summary>
        /// 前台操作员工名称
        /// </summary>
        public string? employeeFrontName { get; set; }

        /// <summary>
        /// 订单完成时间
        /// </summary>
        public string? completeTime { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public string? orderStatus { get; set; }

        /// <summary>
        /// 订单支付状态
        /// </summary>
        public string? payStatus { get; set; }

        /// <summary>
        /// 订单支付类型
        /// </summary>
        public string? payType { get; set; }

        /// <summary>
        /// 支付类型id
        /// </summary>
        public string? payID { get; set; }

        /// <summary>
        /// 房间号id
        /// </summary>
        public string? roomID { get; set; }

        /// <summary>
        /// 房间号名称
        /// </summary>
        public string? roomName { get; set; }

        /// <summary>
        /// 产品合计
        /// </summary>
        public double? totalAmount { get; set; }

        /// <summary>
        /// 订单产品详情
        /// </summary>
        public List<OrderProductDetails_Dto>? orderDetails { get; set; }

    }

    /// <summary>
    /// 订单服务详情
    /// </summary>
    public class OrderProductDetails_Dto() {
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? productName { get; set; }

        /// <summary>
        /// 产品时长
        /// </summary>
        public string? productSpecs { get; set; }

        /// <summary>
        /// 服务员工id
        /// </summary>
        public string? employeeID { get; set; }

        /// <summary>
        /// 服务员工名称
        /// </summary>
        public string? employeeName { get; set; }

        /// <summary>
        /// 产品价格
        /// </summary>
        public double? price { get; set; }
    }
}
